Concept and Implementation of C+++, an Extension of C++ to Support User-Defined Operator Symbols and Control Structures

نویسنده

  • Christian Heinlein
چکیده

The first part of this report presents the concepts of C+++, an extension of C++ allowing the programmer to define new operator symbols with user-defined priorities by specifying a partial precedence relationship. Furthermore, so-called fixary operator combinations consisting of a sequence of associated operator symbols to connect a fixed number of operands as well as flexary operators connecting any number of operands are supported. Finally, operators with lazily evaluated operands are supported which are particularly useful to implement new kinds of control structures, especially as they accept whole blocks of statements as operands, too. In the second part of the report, the implementation of C+++ by means of a “lazy” precompiler for C++ is described in detail.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

C+++: User-Defined Operator Symbols in C++

The paper presents the basic concepts of C+++, an extension of C++ allowing the programmer to define new operator symbols with user-defined priorities by specifying a partial precedence relationship. Furthermore, so-called flexary operators accepting any number of operands and operators with lazily evaluated operands are supported. The latter are particularly useful to implement new kinds of co...

متن کامل

Similar generalized frames

Generalized frames are an extension of frames in Hilbert  spaces and  Hilbert $C^*$-modules. In this paper, the concept ''Similar" for modular $g$-frames is introduced and all of operator duals (ordinary duals) of similar $g$-frames with respect to each other are characterized. Also, an operator dual of a given $g$-frame is studied where $g$-frame is constructed by a primary $g$-frame and an or...

متن کامل

THE ROPER-SUFFRIDGE EXTENSION OPERATORS ON THE CLASS OF STRONG AND ALMOST SPIRALLIKE MAPPINGS OF TYPE $beta$ AND ORDER $alpha$

Let$mathbb{C}^n$ be the space of $n$ complex variables. Let$Omega_{n,p_2,ldots,p_n}$ be a complete Reinhardt on$mathbb{C}^n$. The Minkowski functional on complete Reinhardt$Omega_{n,p_2,ldots,p_n}$ is denoted by $rho(z)$. The concept ofspirallike mapping of type $beta$ and order $alpha$ is defined.So, the concept of the strong and almost spirallike mappings o...

متن کامل

G-frames in Hilbert Modules Over Pro-C*-‎algebras

G-frames are natural generalizations of frames which provide more choices on analyzing functions from frame expansion coefficients. First, they were defined in Hilbert spaces and then generalized on C*-Hilbert modules. In this paper, we first generalize the concept of g-frames to Hilbert modules over pro-C*-algebras. Then, we introduce the g-frame operators in such spaces and show that they sha...

متن کامل

Arithmetic Aggregation Operators for Interval-valued Intuitionistic Linguistic Variables and Application to Multi-attribute Group Decision Making

The intuitionistic linguistic set (ILS) is an extension of linguisitc variable. To overcome the drawback of using single real number to represent membership degree and non-membership degree for ILS, the concept of interval-valued intuitionistic linguistic set (IVILS) is introduced through representing the membership degree and non-membership degree with intervals for ILS in this paper. The oper...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2004